<template>
  <router-view></router-view>
  <GDialog />
</template>

<script setup>
import { ArrowDown } from '@element-plus/icons-vue'
import { useRouter } from 'vue-router'
import GDialog from '@/components/gDialog/index.vue'
const router = useRouter()

const handleLogout = () => {
  // 清除登录信息
  localStorage.removeItem('token')
  router.push('/login')
}
</script>

<style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app {
  height: 100%;
}
</style> 